package gov.ccswj.modules.bdbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.bdbusiness.dao.AaHotinfomationDao;
import gov.ccswj.modules.bdbusiness.entity.AaHotinfomationEntity;
import gov.ccswj.modules.bdbusiness.service.AaHotinfomationService;



@Service("aaHotinfomationService")
public class AaHotinfomationServiceImpl implements AaHotinfomationService {
	@Autowired
	private AaHotinfomationDao aaHotinfomationDao;
	
	@Override
	public AaHotinfomationEntity queryObject(Integer id){
		return aaHotinfomationDao.queryObject(id);
	}
	
	@Override
	public List<AaHotinfomationEntity> queryList(Map<String, Object> map){
		return aaHotinfomationDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return aaHotinfomationDao.queryTotal(map);
	}
	
	@Override
	public void save(AaHotinfomationEntity aaHotinfomation){
		aaHotinfomationDao.save(aaHotinfomation);
	}
	
	@Override
	public void update(AaHotinfomationEntity aaHotinfomation){
		aaHotinfomationDao.update(aaHotinfomation);
	}
	
	@Override
	public void delete(Integer id){
		aaHotinfomationDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		aaHotinfomationDao.deleteBatch(ids);
	}
	
}
